package fr.lip6.move.care.sdmaker.jvmmodel;

import org.eclipse.xtend2.lib.StringConcatenation;
import org.eclipse.xtext.xbase.lib.Functions.Function0;

@SuppressWarnings("all")
public class CompileResult {
  private static CompileResult EMPTY_RESULT = new Function0<CompileResult>() {
    public CompileResult apply() {
      CompileResult _compileResult = new CompileResult();
      return _compileResult;
    }
  }.apply();
  
  private CharSequence charSequenceResult;
  
  private String eltId;
  
  private String eltKind;
  
  private static Boolean EMPTY_RESULT_IS_INITIALIZED = Boolean.valueOf(false);
  
  private static String EMPTY_ID = "EMPTY_ID";
  
  public static CompileResult getEmptyResult() {
    boolean _equals = ((CompileResult.EMPTY_RESULT_IS_INITIALIZED).booleanValue() == false);
    if (_equals) {
      StringConcatenation _builder = new StringConcatenation();
      CompileResult.EMPTY_RESULT.setCharSequenceResult(_builder);
      CompileResult.EMPTY_RESULT.setEltID(CompileResult.EMPTY_ID);
      CompileResult.EMPTY_RESULT_IS_INITIALIZED = Boolean.valueOf(true);
    }
    return CompileResult.EMPTY_RESULT;
  }
  
  public CharSequence getCharSequenceResult() {
    return this.charSequenceResult;
  }
  
  public String getEltID() {
    return this.eltId;
  }
  
  public String getEltKind() {
    return this.eltKind;
  }
  
  public CompileResult setCharSequenceResult(final CharSequence charSequenceResult) {
    this.charSequenceResult = charSequenceResult;
    return this;
  }
  
  public CompileResult setEltID(final String eltId) {
    this.eltId = eltId;
    return this;
  }
  
  public CompileResult setEltKind(final String eltKind) {
    this.eltKind = eltKind;
    return this;
  }
}
